package com.rd.sys.dto.commmon.enums;

import baseproj.common.constants.BaseEnum;

public class SubActivationEnum {

    /**
     * 状态信息.
     */
    public enum Status implements BaseEnum {
        /** 未激活. */
        UNUSED("1", "未激活"),

        /** 已激活. */
        ACTIVATED("2", "已激活");

        /** The code. */
        private final String code;

        /** The name. */
        private final String name;

        /**
         * Instantiates a new type.
         * 
         * @param code
         *            the code
         * @param name
         *            the name
         */
        Status(String code, String name) {
            this.code = code;
            this.name = name;
        }

        /**
         * Gets the code.
         * 
         * @return the code
         */
        @Override
        public String getCode() {
            return code;
        }

        /**
         * Gets the name.
         * 
         * @return the name
         */
        @Override
        public String getName() {
            return name;
        }

    }
}
